const templateEnum = {
  action: 'src/template/action.js',
  api: 'src/template/api.js',
  actionTypes: 'src/template/actionTypes.js',
  component: 'src/template/component.jsx',
  reducer: 'src/template/reducer.js',
  index: 'src/template/index.jsx',
};

const entities = {
  folders: [
    {
      name: 'actions',
      files: [{
        name: 'index.js',
        template: templateEnum.action
      }]
    },
    {
      name: 'api',
      files: [{
        name: 'index.js',
        template: templateEnum.api
      }]
    },
    {
      name: 'components',
      files: [{
        name: '{{Module}}.jsx',
        template: templateEnum.component
      }]
    },
    {
      name: 'consts',
      files: [{
        name: 'index.js',
        template: templateEnum.actionTypes
      }]
    },
    {
      name: 'reducers',
      files: [{
        name: 'index.js',
        template: templateEnum.reducer
      }]
    }
  ],
  files: [{
    name: 'index.js',
    template: templateEnum.index
  }]
};

module.exports = entities;
